import _00GraphFuc as gf

#11.2.2绘制欧拉图
V1={'a','b','c','d'}
E1={('a','b'),('b','c'),('c','d'),('d','a')}
V2={'a','b','c','d','e'}
E2={('a','b'),('c','d'),('a','e'),('b','e'),('c','e'),('d','e')}
V3={'a','b','c','d','e'}
E3={('a','b'),('b','c'),('c','d'),('d','a'),('a','c'),('b','e'),('c','e')}
V4={'a','b','c','d','e'}
E4={('a','b'),('b','c'),('c','d'),('d','a'),('a','e'),('b','e'),('c','e'),('d','e')}
gf.drawgraph(E1)
gf.drawgraph(E2)
gf.drawgraph(E3)
gf.drawgraph(E4)